/*
 * Design elements for Roundbox Template
 *
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Anika Henke <henke@cosmocode.de>
 * @author Christopher Arndt <chris@chrisarndt.de>
 */

/* ---------- general elements ---------- */

body {
	font: 80% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
	color: #BFFFFF;
	background-color: #660000;
	margin: 0;
	padding: 1%;
}

body.mediabody {
        background-color: #006B6B;
}

#header {
	background-color: #006B6B;
	border-color: black;
	font-family: "Times New Roman","Times",serif;
}

#header_title {
	font-weight: normal;
	font-style: italic;
	color: #BFFFFF;
}

#header_bar {
	color: #BFFFFF;
	background-color: #009999;
	border-color: black;
}

#header a, #header:visited, #header a:hover {
	border: 0px;
}

.logo a:link, .logo a:visited, .logo a:hover, .logo a:active {
	color: #BFFFFF;
	text-decoration:none;
}

.logo {
	font-size: 250%;
}

.pagename {
	color: #BFFFFF;
	font-size: 150%;
	font-weight: bold;
}

.tagline {
	letter-spacing: 0.2em;
	font-size: 120%;
	font-weight: bold;
}

.toplink {
	font-size: 90%;
	margin-top: 0.5em;
	background: transparent url(images/up.gif) left center no-repeat;
	padding-left: 15px;
}

/* ---------- the document ---------- */

#content {
	color: #BFFFFF;
	background-color: #006B6B;
	border-color: black;
}

.page {
	font-size: 100%;
	background-color: #009999;
	text-align: justify;
}

table {
	font-size: 90%;
	padding:0;
	margin:0;
}

tr,td,th {padding:0; margin:0;}

img {border:0}

p {padding:0; margin: 0 0 1.0em 0;}

hr {
	border: 0px;
	border-top: 1px solid #BFFFFF;
	text-align:center;
	height: 0px;
}

div.nothing {
	text-align:center;
	margin: 2em;
}

/* ---------- forms ---------- */

form {
	border: none;
	margin: 0;
	display: inline;
}

label {
	display: block;
	text-align: right;
	font-weight: bold;
}

label.simple {
	text-align: left;
	font-weight: normal;
}

label input.edit {
	width: 50%;
}

fieldset {
	width: 300px;
	text-align: center;
	border: 1px solid #8cacbb;
	padding: 0.5em;
}

textarea.edit {
	font-family:monospace;
	border: 1px solid #8cacbb;
	color: white;
	background-color: black;
	font-size:14px;
	padding: 3px;
	width:100%;
}

input.edit, select.edit {
	font-size: 100%;
	border: 1px solid #8cacbb;
	height: 18px !important;
	max-height: 22px !important;
	min-height: 22px !important;
	color: black;
	background-color: #dee7ec;
	vertical-align: middle;
	padding: 1px;
	display: inline;
}

/* file selector - does not currently work */
input.edit[type="file"] {
	-moz-appearance: none;
	white-space: nowrap;
	cursor: default;
	-moz-binding: none;
	padding: 0 !important;
	border-style: none !important;
}

input.edit[type="file"] > input[type="text"] {
	border-color: inherit;
	background-color: inherit;
	color: inherit;
	font-size: inherit;
	height: inherit;
}

/* button part of file selector */
input.edit[type="file"] > input[type="button"] {
	height: inherit;
	font-size: inherit;
}

input.missing {
	font-size: 100%;
	border: 1px solid #8cacbb;
	height: 18px !important;
	max-height: 22px !important;
	min-height: 22px !important;
	color: black;
	background-color: #ffcccc;
	vertical-align: middle;
	padding: 1px;
	display: inline;
}

#qsearch_in {
	margin-right: 0.5em;
	background-color: black;
	color: white;
}

.toolbar a, .toolbar a:visited, .toolbar a:hover {
	border: 0px;
}

/* ---------- buttons ---------- */

input.button {
	color: #BFFFFF;
	background-color: #006B6B;
	border: solid 1px black;
	vertical-align: middle;
	text-decoration:none;
	font-size: 100%;
	cursor: pointer;
	height: 22px !important;
	max-height: 22px !important;
	min-height: 22px !important;
	margin: 1px;
	display: inline;
}

div.secedit input.button {
	border: 1px solid #8cacbb;
	color: black;
	background-color: white;
	vertical-align: middle;
	text-decoration:none;
	margin: 0px;
	padding: 0px;
	font-size: 10px;
	cursor: pointer;
	height: 15px !important;
	max-height: 15px !important;
	min-height: 15px !important;
	float:right;
	display: inline;
}

/* ---------- page navigator ---------- */

div.pagenav {
	margin-top:1em;
}

div.pagenav-prev {
	text-align:right;
	float:left;
	width:50%
}

div.pagenav-prev input.button {
	margin-right:5px;
}

div.pagenav-next {
	text-align:left;
	float:right;
	width:50%
}

div.pagenav-next input.button {
	margin-left:5px;
}

/* ---------- links ---------- */

a {
	text-decoration: none;
	color: #80FF80;
}

a:visited {
	color: #80FF80;
}

a:hover {
	color: #BFFFBF;
}


/* external link */
a.urlextern {
	background: transparent url(images/link_icon.gif) 0px 1px no-repeat;
	padding: 1px 0px 1px 16px;
	border-bottom: 1px dotted #80FF80;
}

a.urlextern:visited {
}

a.urlextern:hover {
	border-bottom: 1px dotted #BFFFBF;
}

/* windows share */
a.windows {
	background: transparent url(images/windows.gif) 0px 1px no-repeat;
	padding: 1px 0px 1px 16px;
	border-bottom: 1px dotted #80FF80;
}

a.windows:visited {
}

a.windows:hover {
	border-bottom: 1px dotted #BFFFBF;
}

/* interwiki link */
a.interwiki {
	background: transparent url(images/interwiki.png) 0px 1px no-repeat;
	padding-left: 16px;
	/* color: #80FF80;
	text-decoration:none; */
	border-bottom: 1px dotted #80FF80;
}

a.interwiki:visited {
    /* color: #80FF80; */
}

a.interwiki:hover {
	/* color: #BFFFBF; */
	border-bottom: 1px dotted #BFFFBF;
}

/* link to some embedded media */
a.media {
	/* color: #80FF80;
	text-decoration:none; */
}

a.media:visited {
    /* color: #80FF80; */
}

a.media:hover {
	/* color: #BFFFBF; */
}

/* email link */
a.mail {
	background: transparent url(images/mail_icon.gif) 0px 1px no-repeat;
	padding: 1px 0px 1px 16px;
	border-bottom: 1px dotted #80FF80;
}

a.mail:visited {
}

a.mail:hover {
	border-bottom: 1px dotted #BFFFBF;
}

/* existing wikipage */
a.wikilink1 {
	color: #809FFF;
	border-bottom: 1px dotted #809FFF;
}

a.wikilink1:visited {
	color: #809FFF;
}

a.wikilink1:hover {
	color: #BFCFFF;
	border-bottom: 1px dotted #BFCFFF;
}

/* not existing wikipage */
a.wikilink2 {
	color: #00248F;
	border-bottom: 1px dotted #00248F;
}

a.wikilink2:visited {
	color: #00248F;
}

a.wikilink2:hover {
	color: #0033CC;
	border-bottom: 1px dotted #0033CC;
}

/* ---------- page elements ---------- */

.preview {
	background: #006B6B;
	margin-left:2em;
	padding: 4px;
	border: 1px dashed black;
}

.breadcrumbs {
	font-size: 85%;
	font-weight: normal;
	color: #BFFFFF;
	margin-top: 0px;
	margin-bottom: 0.3em;
	margin-left: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0.1em;
	padding-right: 0.1em;
}

.breadcrumbs a, .breadcrumbs:visited, .breadcrumbs a:hover {
	border: 0px;
}

.user {
	color: #BFFFFF;
	font-size: 80%;
	text-align: center;
	margin-bottom: 0.3em;
}

.meta {
	color: #638c9c;
}

/* embedded images */
img.media {
	margin: 3px;
}

img.medialeft {
	border: 0;
	float: left;
	margin: 0 1.5em 0 0;
}

img.mediaright {
	border: 0;
	float: right;
	margin: 0 0 0 1.5em;
}

img.mediacenter {
	border: 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

acronym {
	cursor: help;
	border-bottom: 1px dotted #222222;
}

/* general headline setup */
h1, h2, h3, h4, h5 {
	/* color: black; */
	background-color: transparent;
	font-size: 100%;
	font-weight: normal;
	margin-left:    0;
	margin-right:   0;
	margin-top:     0;
	margin-bottom:  1em;
	padding-left:   0;
	padding-right:  0;
	padding-top:    0.5em;
	padding-bottom: 0;
	border-bottom: 1px solid #BFFFFF;
	clear: left;
}

/* special headlines */
h1 {font-size: 160%; margin-left: 0px; font-weight: bold;}
h2 {font-size: 150%; margin-left: 20px;}
h3 {font-size: 140%; margin-left: 40px; border-bottom: none; font-weight: bold;}
h4 {font-size: 120%; margin-left: 60px; border-bottom: none; font-weight: bold;}
h5 {font-size: 100%; margin-left: 80px; border-bottom: none; font-weight: bold;}

/* indent different sections */
div.level1 {margin-left: 3px;}
div.level2 {margin-left: 23px;}
div.level3 {margin-left: 43px;}
div.level4 {margin-left: 63px;}
div.level5 {margin-left: 83px;}

/* unordered lists */
ul {
	line-height: 1.5em;
	list-style-type: square;
	margin: 0 0 0.5em 1.5em;
	padding: 0;
	list-style-image: url(images/bullet.gif);
}

/* ordered lists */
ol {
	line-height: 1.5em;
	margin: 0 0 0.5em 1.5em;
	padding: 0;
	list-style-image: none;
	font-weight: bold;
}

/* the list items overriding the ol definition */
.li {
	/* color: black; */
	font-weight: normal;
}

ol {list-style-type: decimal}
ol ol {list-style-type: upper-roman}
ol ol ol {list-style-type: lower-alpha}
ol ol ol ol {list-style-type: lower-greek}

li.open {
	list-style-image: url(images/open.gif);
}

li.closed {
	list-style-image: url(images/closed.gif);
}

blockquote {
	border-left: 2px solid #8cacbb;
	padding-left: 3px;
	margin-left: 0;
}

/* code blocks by indention */
/* code blocks by file tag */
/* code blocks by code tag */
pre.pre, pre.file, pre.code {
	font-size: 150%;
	padding: 0.5em;
	border: 1px solid #6078B;
	color: black;
	background-color: white;
	overflow: auto;
}

/* inline code words */
code {
	font-size: 100%;
}

/* inline tables */
table.inline {
	border-spacing: 0px;
	border-collapse: collapse;
	color: #666666;
	background-color: #dee7ec;
}

table.inline th {
	padding: 3px;
	border: 1px solid #666666;
	background-color: #80FF80;
}

table.inline td {
	padding: 3px;
	border: 1px solid #666666;
}

.leftalign {
	text-align: left;
}

.centeralign {
	text-align: center;
}

.rightalign {
	text-align: right;
}

/* ---------- table of contents ---------- */

div.toc {
	margin-left: 2em;
	margin-top: 1.2em;
	margin-bottom: 0;
	float:right;
	width: 200px;
	font-size: 80%;
	clear: both;
}

div.tocheader {
	padding: 3px;
	border: 1px solid #8cacbb;
	background-color: #dee7ec;
	color: black;
	text-align: left;
	font-weight: bold;
	margin-bottom: 2px;
}

div.toctoggle {
	float: right;
	margin-top: 0.3em;
	margin-right: 3px;
}

div.toctoggle img {
	width: 0.8em;
	height: 0.8em;
}

#tocinside {
	border: 1px solid #8cacbb;
	background-color: white;
	text-align: left;
	padding-top: 0.5em;
	padding-bottom: 0.7em;
}

ul.toc {
	list-style-type: none;
	list-style-image: none;
	line-height: 1.2em;
	margin: 0;
	padding: 0;
	padding-left: 1em;
}

ul.toc li {
	background: transparent url(images/tocdot2.gif) 0 0.6em no-repeat;
	padding-left: 0.4em;
}

ul.toc li.clear {
	background-image: none;
	padding-left: 0.4em;
}

a.toc {
	color: #436976;
	text-decoration: none;
}

a.toc:hover {
	color: black;
	text-decoration: underline;
}

/* ---------- diff rendering ---------- */
table.diff {
	background: white;
	color: black;
}

td.diff-blockheader {
	font-weight: bold
}

td.diff-header {
	border-bottom: 1px solid #8cacbb;
	font-size: 120%;
}

td.diff-addedline {
	background: #ddffdd;
	font-family: monospace;
	font-size: 100%;
}

td.diff-deletedline {
	background: #ffffbb;
	font-family: monospace;
	font-size: 100%;
}

td.diff-context {
	background: #f7f9fa;
	font-family: monospace;
	font-size: 100%;
}

span.diffchange {
	color: red;
}

/* ---------- footnotes ---------- */

div.footnotes{
	clear: both;
	border-top: 1px solid #8cacbb;
	padding-top: 0.2em;
	padding-left: 1em;
	margin-top: 1.2em;
}

div.fn {
	font-size: 90%;
}

a.fn_top {
	vertical-align: super;
	font-size: 80%;
}

a.fn_bot{
	vertical-align: super;
	font-size: 80%;
	font-weight: bold;
}

/* ---------- search result formating ---------- */
.search_result {
	margin-bottom: 6px;
	padding-left: 30px;
	padding-right: 10px;
}

.search_snippet{
	color: #80FF80;
	font-size: 12px;
	margin-left: 20px;
}

.search_sep {
	color: black;
}

.search_hit {
	color: black;
	background: #FFFF99;
}

div.search_quickresult{
	margin-bottom: 15px;
	padding-bottom: 5px;
	border-bottom: 1px dashed #8cacbb;
	margin-left: 30px;
	padding-right: 10px;
}

div.search_quickhits {
	margin-left: 1em;
	float: left;
	background: transparent url(images/bullet.gif) 0px 1px no-repeat;
	padding: 1px 0px 1px 8px;
	width: 30%;
}

/* ---------- additional ---------- */

.footerinc a {
	border: 0px;
}

.footerinc a img {
	opacity: 0.5;
}
/*
.footerinc a:hover img {
	opacity: 1;
}
*/
/* ---------- admin ---------- */

div.acladmin label {
	text-align: left;
	font-weight: normal;
	display: inline;
}

div.acladmin table{
	margin-left: 10%;
	width: 80%;
}

/* ---------- AJAX quicksearch ---------- */

div.ajax_qsearch {
	position: absolute;
	left: 225px;
	text-align: left;
	width: 200px;
	background-color: #008F00;
	opacity: 0.9;
	display: none;
}

/* ---------- spellchecking ---------- */

a.spell_error {
	color: red;
	text-decoration: underline;
}

div#spell_suggest {
	position: absolute;
	left: 0;
	top: 0;
	display: none;
	background-color: white;
	padding: 2px;
	border: 1px solid black;
	font-size: 80%;
	z-index: 2;
}

div#spell_result {
	display: none;
	font-family: monospace;
	border: 1px solid #8cacbb;
	color: black;
	font-size: 14px;
	padding: 3px;
	background-color: #f7f9fa;
	overflow: auto;
	z-index: 1;
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

span.spell_noerr {
	color: #009933;
}

span.spell_wait {
	color: #0066cc;
}

/* ---------------  Image Details  ----------------- */

div.img_big {
	float: left;
	margin-right: 0.5em;
}

dl.img_tags dt {
	font-weight: bold;
	/*background-color: #dee7ec;*/
}
dl.img_tags dd {
	/*background-color: #f5f5f5;*/
}

div.imagemeta {
	color: #666;
	font-size: 70%;
	line-height: 95%;
}

div.imagemeta img.thumb{
	float:left;
	margin-right: 0.1em;
}

/* -------------- Media Popup ---------------------- */
div.mediaselect-right li, div.uploadform {
	clear: both;
}

div.mediaedit div.data label{
	display: block;
	text-align: right;
	width: 20%;
	float: left;
	margin-right: 0.5em;
}

div.mediaedit div.data input, div.mediaedit div.data textarea{
	width: 75%;
	padding: 0.1em;
	margin: 0.1em;
}

div.mediaedit div.data input.button {
	width: 10em;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- current ID highlighting ---------- */
.curid {
	font-weight: bold;
}

div.success {
	/* disabled, until I find a way to attach JavaScript to this area
	 * to hide it when clicked. */
	/* background-image: url(images/close.png);
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 25px; */
	color: black;
}
